package com.junoppa.seckill.service;

import com.junoppa.seckill.dao.OrderDao;
import com.junoppa.seckill.dao.SeckillDao;
import com.junoppa.seckill.entity.Order;
import com.junoppa.seckill.entity.Seckill;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Service;

import java.util.concurrent.TimeUnit;

/**
 * @author junoppa
 */
@Service
public class OrderServiceImpl implements  OrderService{

    @Autowired
    private OrderDao orderDao;

    @Override
    public void insertOrder(Order order) {
        orderDao.insertOrder(order);
    }


}
